﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="ZX.WebApp.forum.Board"
    MasterPageFile="~/forum/forum.Master" %>

<asp:Content ContentPlaceHolderID="Top" ID="pageTop" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderID="head" ID="pageHead" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderID="Content" ID="pageContent" runat="server">
    <%
        ZX.BLL.Extend.BaseBussnies bll = new ZX.BLL.Extend.BaseBussnies();
        System.Data.DataTable dt = bll.GetDataBySqlComm("select * from forumBoard order by Sort");
    %>
    <table style="width: 100%">
        <thead>
            <th style="width: 200px;">
                功能模块
            </th>
            <th>
                说明
            </th>
        </thead>
        <tbody>
            <%
                foreach (System.Data.DataRow row in dt.Rows)
                {
                    string BoardName = row.ItemArray[1].ToString();
                    string Notes = row.ItemArray[2].ToString();
                    string id = row.ItemArray[0].ToString();
            %>
            <tr>
                <td style="width: 150px;">
                    <a href="Thread.aspx?boardID=<% =id %>">
                        <%=BoardName %>(<%=row.ItemArray[dt.Columns["PostScore"].Ordinal].ToString() %>)</a>
                </td>
                <td>
                    <% = Notes %>
                </td>
            </tr>
            <%
                }
            %></tbody></table>
</asp:Content>
